package com.gym.core.number;

import org.apache.http.annotation.NotThreadSafe;

/**
 * 
 * @author wangxinchun1988@163.com
 *
 * 2016-6-13 下午3:18:00
 */
@NotThreadSafe
public final class IntegerHolder {
	private int value;

	public IntegerHolder() {
	}

	public IntegerHolder(int value) {
		this.value = value;
	}

	public void inc() {
		value = value + 1;
	}

	public void dec() {
		value = value - 1;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

}
